import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import useRouter from "./router"
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import "@/assets/style/iconfont.less";
import i18n from "@/i18n";
import lazy from '@/directives/lazy'
const app = createApp(App)
useRouter(app)
app.use(createPinia())
app.directive('lazy', lazy)
app.use(i18n)

app.mount('#app')
